package com.edu.quartz.task;

import com.edu.quartz.service.ISyncSchoolTimetableService;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;

/**
 * 同步课表定时任务
 *
 * @author xxxx
 */
@Component("syncTimeTableTask")
public class SyncTimeTableTask {
    @Resource
    private ISyncSchoolTimetableService iSyncSchoolTimetableService;

    public void doSync() {
        iSyncSchoolTimetableService.syncTimetable();
    }
}
